Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_GD_INQDIMS

EOS_GD_INQDIMS

This function retrieves information about dimensions defined in a grid. The dimension list is returned as a string with each dimension name separated by commas.

Note: See STRSPLIT to separate the dimension list.

Syntax

Result = EOS_GD_INQDIMS(gridID, dimname, dims)

Return Value

Number of dimension entries found. If FAIL(–1), could signify an improper grid id.

Arguments

gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

dimname

A named variable that will contain the dimension list (string) with entries separated by commas.

dims

A named variable that will contain an array (long) of the size of each dimension.

Keywords

None

Examples

To retrieve information about the dimensions, use the following statement:

ndim = EOS_GD_INQDIMS(gridID, dimname, dims)

Version History

 

5.2

Introduced